import { useRoutes } from "react-router-dom";
import router from "./router/index";

// 定义一个名为App的函数组件
function App() {
  const el = useRoutes(router);
  return (
    <div>
      {el}
      
      
    </div>
  );
}

export default App;
